package top.ranzhang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.ranzhang.bean.dto.EmailOtherDTO;
import top.ranzhang.bean.dto.LoginOtherDTO;
import top.ranzhang.bean.dto.RegisterOtherDTO;
import top.ranzhang.bean.entity.other;
import top.ranzhang.bean.vo.OtherLoginVO;

public interface OtherService extends IService<other> {
    OtherLoginVO loginRedis(LoginOtherDTO loginOtherDTO);

    void save(RegisterOtherDTO registerOtherDTO);

    OtherLoginVO loginEmail(EmailOtherDTO loginOtherDTO);

    void getEmailCode(String email);
}
